VisualComposer\Helpers\WpMedia A

Total Complexity 65
Dependencies 0
Dependents 3
Total lines 337
Lines of code 267
Logical lines of code 125
Comment lines 38
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
getElementMedia()
B
44 19 42
getImageBySize()
B
37 15 79
processImageResize()
A
39 10 72
getSizes()
S
52 6 23
getThumbSize()
S
56 6 18
getTemplateElementMedia()
S
65 3 10
resizeImageById()
S
66 2 8
stringifyAttributes()
S
67 2 7
checkIsImage()
S
75 1 4
checkIsVideo()
S
75 1 4